package com.slipper.system.codeless.dao;

import java.util.List;

import com.slipper.system.codeless.bo.AppVersionBO;
import org.apache.ibatis.annotations.Param;

public interface AppVersionDao {
    
    int insert(AppVersionBO bo);
    
    int update(AppVersionBO bo);
    
    int delete(AppVersionBO bo);

    AppVersionBO queryBy(String id);
    
    List<AppVersionBO> queryList(AppVersionBO bo);

    List<AppVersionBO> queryLatestBy(
            @Param("code") String code,
            @Param("type") String type);
}
